package com.kidback.bbloc259.app.provider;

import com.google.gson.reflect.TypeToken;
import com.kidback.bbloc259.base.BaseProvider;
import com.kidback.bbloc259.bean.DeviceBean;

import java.lang.reflect.Type;

public class DeviceDataProvider extends BaseProvider<DeviceBean> {


    private static DeviceDataProvider instance = new DeviceDataProvider();

    public static DeviceDataProvider getInst() {
        return instance;
    }



    @Override
    protected Type getType() {
        return new TypeToken<DeviceBean>() {
        }.getType();
    }

    @Override
    protected String getCacheKey() {
        return this.getClass().getName();
    }


}
